package com.gpframework.module.purchase.domain.req;

import com.gpframework.module.purchase.domain.GpPurchaseIncomingInspectWeight;
import com.gpframework.module.purchase.domain.GpPurchaseIncomingInspectWidth;
import com.gpframework.module.purchase.domain.GpPurchaseIncomingInspectYardVerify;
import com.gpframework.module.purchase.domain.vo.GpPurchaseIncomingInspectWeightVo;
import com.gpframework.module.purchase.domain.vo.GpPurchaseIncomingInspectWidthVo;
import com.gpframework.module.purchase.domain.vo.GpPurchaseIncomingInspectYardVerifyVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import javax.validation.constraints.*;
import org.springframework.validation.annotation.Validated;

import java.util.List;

/**
 * @ClassName GpPurchaseIncomingInspectUpdate
 * @Author gpframework
 * @Date 2024-01-09
 * @Version 1.0.0
 * @Description 采购来料检验单更新请求体对象
 */
@Data
@ToString
@Validated
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class GpPurchaseIncomingInspectUpdate extends GpPurchaseIncomingInspectAdd {

    @NotNull(message = "${column.columnComment}不能为空")
    @ApiModelProperty(value = "${column.columnComment}",required = true)
    private Long id;

    @ApiModelProperty(value = "主键ids")
    private List<Long> ids;

    @ApiModelProperty(value = "复制条数")
    private Integer copyNum;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty("来料检验单实际验码列表")
    private List<GpPurchaseIncomingInspectYardVerify> yardVerifyList;
    @ApiModelProperty("来料检验单幅宽列表")
    private List<GpPurchaseIncomingInspectWidth> widthList;
    @ApiModelProperty("来料检验单重量列表")
    private List<GpPurchaseIncomingInspectWeight> weightList;

    /** 反馈id */
    @ApiModelProperty("反馈id")
    private Long feedbackId;
    /** 反馈人名称 */
    @ApiModelProperty("反馈人名称")
    private String feedbackName;

    @ApiModelProperty("反馈类型")
    private String feedbackType;

    @ApiModelProperty("反馈内容")
    private String feedbackContent;
}
